package com.ruoyi.data.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import com.ruoyi.data.domain.DataClassificationUser;
import lombok.Data;

import java.util.List;


/**
 * 分类管理视图对象 data_classification
 *
 * @author ruoyi
 * @date 2023-10-26
 */
@Data
@ExcelIgnoreUnannotated
public class DataClassificationVo {

    private static final long serialVersionUID = 1L;

    /**
     *
     */
    private Long classificationId;

    /**
     * 分类名称
     */
    @ExcelProperty(value = "分类名称")
    private String classificationName;

    /**
     * 表头
     */
    @ExcelProperty(value = "表头")
    private String tableHead;



    /**
     * 0 不共享 1共享
     */
    @ExcelProperty(value = "0 不共享 1共享", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "data_share")
    private String classificationType;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;

    /**
     * 数量
     */
    @ExcelProperty(value = "数量")
    private Long count;


    @ExcelProperty(value = "已缓存数量")
    private Long cacheCount;


    @ExcelProperty(value = "缓存数量")
    private Long redisCount;


    /**
     * 用户id
     */
    private Long userId;


}
